require.config({
	 paths: {
		"jquery": "./quote_js/jquery.min",
		"bootstrap":"./quote_js/bootstrap.min",
		"datatables.net":"./quote_js/jquery.dataTables.min",
		"bsdataTables":"./quote_js/dataTables.bootstrap.min",
		"adminlte":"./quote_js/adminlte.min",
		      "fnReloadAjax":"./quote_js/fnReloadAjax"
			 },
	 shim:{
			 'bootstrap':['jquery'],
			 'bsdataTables':['bootstrap'],
			 'fnReloadAjax':['jquery', 'datatables.net'],
			 'adminlte':['bootstrap']
	    }
 });


			require(['jquery','bootstrap','datatables.net','bsdataTables','adminlte','fnReloadAjax','common','index'],
				function(jquery,bootstrap,datatables_net,bsdataTables,adminlte,fnReloadAjax,common, index){
	    $(function(){
	    	//用户检验
	    	common.userCalibration();
	    	
	    	//1.商品表格初始化
	    	index.initialProducts();
	    	
	    	//2.商品表格初始化
	    	index.addBtn();
	    	
	    	//3.查询商品信息
	    	index.selectProductInfo();
	    });
});